﻿using Carmenta.SpatialAce.Interop.ModifyOp;
using System;
using System.Collections.Generic;

namespace CEPowerPack
{
	public static partial class Factory
	{

	public static OffsetOp CreateOffsetOp(String Name)
	{
		var instance = new OffsetOp();
		instance.Create(Name);
		return instance;
	}

	public static ProjectOp CreateProjectOp(String Name)
	{
		var instance = new ProjectOp();
		var instanceEx = instance as IProjectOpEx;
		instanceEx.Create(Name);
		return instance;
	}

	public static ThinningOp CreateThinningOp(String Name)
	{
		var instance = new ThinningOp();
		instance.Create(Name);
		return instance;
	}

	public static ConnectLineOp CreateConnectLineOp(String Name)
	{
		var instance = new ConnectLineOp();
		instance.Create(Name);
		return instance;
	}

	public static ConnectPolygonOp CreateConnectPolygonOp(String Name)
	{
		var instance = new ConnectPolygonOp();
		instance.Create(Name);
		return instance;
	}

	public static GeoTypeOp CreateGeoTypeOp(String Name)
	{
		var instance = new GeoTypeOp();
		var instanceEx = instance as IGeoTypeOpEx;
		instanceEx.Create(Name);
		return instance;
	}

	public static BorderMergeOp CreateBorderMergeOp(String Name)
	{
		var instance = new BorderMergeOp();
		instance.Create(Name);
		return instance;
	}

	public static SmoothOp CreateSmoothOp(String Name)
	{
		var instance = new SmoothOp();
		instance.Create(Name);
		return instance;
	}
	}
}

